import {post, get} from '../utils/request';

const LOGIN = 'n/empLogin/';
const SHOP = 'shop/';

export function login(params) {
    return post(`${LOGIN}signIn`, params);
}
export function logout() {
    return get(`${LOGIN}logon`);
}

export function payCount(params) {
    return post(`${SHOP}updateShop`, params);
}

export function chagePsw(params) {
    return post(`${SHOP}updatePass`, params);
}
